package com.telpoo.bhlib;

import com.telpoo.frame.utils.Utils;

import android.content.Context;

public class BHUtils {
	public static void saveAdsState(boolean enableAds, Context ct) {
		Utils.saveStringSPR(Bhdefi.SPR.ENABLE_ADS, "" + enableAds, ct);
	}
	public  static boolean getAdsState(Context ct){
		String vl=Utils.getStringSPR(Bhdefi.SPR.ENABLE_ADS, ct);
		
		if(vl.equalsIgnoreCase("false")) return false;
		if(vl.equalsIgnoreCase("true")) return true;
		return true;
		
	}
}
